<?php
/**
 * Description
 *
 * PHP version 7
 *
 * @category Custom
 * @package  Custom
 * @author   ryu <mo5467@126.com>
 * @date     2020-04-28 22:41:48
 * @lastTime 2020-04-28 23:10:54
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     none
 */
namespace Design\Behavioral\Memento;

class Memento
{

    private $state;


    public function __construct(State $state)
    {
        $this->state = $state;

    }//end __construct()


    public function getState() : State
    {
        return $this->state;

    }//end getState()


}//end class
